package org.wlc.demov3;

import org.wlc.demov1.HandlerIntercepter;

/**
 * @author 王立朝
 * @date 2022/5/25
 * @description:
 */
public abstract class SsoDecorator implements HandlerIntercepter {


    private HandlerIntercepter handlerInterceptor;

    public SsoDecorator() {
    }

    public SsoDecorator(HandlerIntercepter handlerInterceptor) {
        this.handlerInterceptor = handlerInterceptor;
    }

    public boolean preHandle(String request, String response, Object handler) {
        return handlerInterceptor.preHandle(request, response, handler);
    }

}
